//
//  ZSY_HomeModel.m
//  zsy_BreadTrip
//
//  Created by dllo on 15/12/28.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "ZSY_HomeModel.h"

@implementation ZSY_HomeModel

- (void)dealloc {
    [_index_cover release];
    [_index_title release];
    [_userDic release];
    [_userModel release];
    [_share_url release];
    [super dealloc];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"user"]) {
        [self.userModel setValuesForKeysWithDictionary:value];
    }
}

- (instancetype)init {
    self = [super init];
    if (self) {
        self.userModel = [[ZSY_HomeUserModel alloc] init];
    }
    return self;
}



@end
